.class Lcom/netease/newsreader/activity/DetailPage$40$1$1;
.super Landroid/os/AsyncTask;
.source "DetailPage.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/DetailPage$40$1;->onClick(Landroid/content/DialogInterface;I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroid/os/AsyncTask",
        "<",
        "Ljava/lang/String;",
        "Ljava/lang/Integer;",
        "Ljava/util/Map;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$2:Lcom/netease/newsreader/activity/DetailPage$40$1;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/DetailPage$40$1;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/DetailPage$40$1$1;->this$2:Lcom/netease/newsreader/activity/DetailPage$40$1;

    .line 2903
    invoke-direct {p0}, Landroid/os/AsyncTask;-><init>()V

    return-void
.end method


# virtual methods
.method protected bridge varargs synthetic doInBackground([Ljava/lang/Object;)Ljava/lang/Object;
    .locals 1
    .parameter

    .prologue
    .line 1
    check-cast p1, [Ljava/lang/String;

    invoke-virtual {p0, p1}, Lcom/netease/newsreader/activity/DetailPage$40$1$1;->doInBackground([Ljava/lang/String;)Ljava/util/Map;

    move-result-object v0

    return-object v0
.end method

.method protected varargs doInBackground([Ljava/lang/String;)Ljava/util/Map;
    .locals 7
    .parameter "params"

    .prologue
    const/4 v6, 0x0

    .line 2908
    const-string v3, "wap"

    aget-object v4, p1, v6

    iget-object v5, p0, Lcom/netease/newsreader/activity/DetailPage$40$1$1;->this$2:Lcom/netease/newsreader/activity/DetailPage$40$1;

    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage$40$1;->access$0(Lcom/netease/newsreader/activity/DetailPage$40$1;)Lcom/netease/newsreader/activity/DetailPage$40;

    move-result-object v5

    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage$40;->access$0(Lcom/netease/newsreader/activity/DetailPage$40;)Lcom/netease/newsreader/activity/DetailPage;

    move-result-object v5

    invoke-static {v3, v4, v5}, Lcom/netease/newsreader/util/HttpUtils;->getDocShortUrl(Ljava/lang/String;Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    .line 2909
    .local v1, shorturl:Ljava/lang/String;
    const-string v3, "www"

    aget-object v4, p1, v6

    iget-object v5, p0, Lcom/netease/newsreader/activity/DetailPage$40$1$1;->this$2:Lcom/netease/newsreader/activity/DetailPage$40$1;

    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage$40$1;->access$0(Lcom/netease/newsreader/activity/DetailPage$40$1;)Lcom/netease/newsreader/activity/DetailPage$40;

    move-result-object v5

    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage$40;->access$0(Lcom/netease/newsreader/activity/DetailPage$40;)Lcom/netease/newsreader/activity/DetailPage;

    move-result-object v5

    invoke-static {v3, v4, v5}, Lcom/netease/newsreader/util/HttpUtils;->getDocShortUrl(Ljava/lang/String;Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    .line 2911
    .local v2, wwwshorturl:Ljava/lang/String;
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    .line 2912
    .local v0, map:Ljava/util/Map;
    const-string v3, "wap"

    invoke-interface {v0, v3, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 2913
    const-string v3, "www"

    invoke-interface {v0, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 2914
    return-object v0
.end method

.method protected bridge synthetic onPostExecute(Ljava/lang/Object;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    check-cast p1, Ljava/util/Map;

    invoke-virtual {p0, p1}, Lcom/netease/newsreader/activity/DetailPage$40$1$1;->onPostExecute(Ljava/util/Map;)V

    return-void
.end method

.method protected onPostExecute(Ljava/util/Map;)V
    .locals 7
    .parameter "result"

    .prologue
    .line 2919
    invoke-super {p0, p1}, Landroid/os/AsyncTask;->onPostExecute(Ljava/lang/Object;)V

    .line 2921
    const-string v3, "wap"

    invoke-interface {p1, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    .line 2922
    .local v1, shorturl:Ljava/lang/String;
    const-string v3, "www"

    invoke-interface {p1, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 2924
    .local v2, wwwshorturl:Ljava/lang/String;
    new-instance v0, Landroid/content/Intent;

    const-string v3, "android.intent.action.VIEW"

    invoke-direct {v0, v3}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 2925
    .local v0, sendIntent:Landroid/content/Intent;
    const-string v3, "sms_body"

    new-instance v4, Ljava/lang/StringBuilder;

    iget-object v5, p0, Lcom/netease/newsreader/activity/DetailPage$40$1$1;->this$2:Lcom/netease/newsreader/activity/DetailPage$40$1;

    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage$40$1;->access$0(Lcom/netease/newsreader/activity/DetailPage$40$1;)Lcom/netease/newsreader/activity/DetailPage$40;

    move-result-object v5

    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage$40;->access$0(Lcom/netease/newsreader/activity/DetailPage$40;)Lcom/netease/newsreader/activity/DetailPage;

    move-result-object v5

    invoke-virtual {v5}, Lcom/netease/newsreader/activity/DetailPage;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    const v6, 0x7f0b0041

    invoke-virtual {v5, v6}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 2926
    const-string v5, "\u300a"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, p0, Lcom/netease/newsreader/activity/DetailPage$40$1$1;->this$2:Lcom/netease/newsreader/activity/DetailPage$40$1;

    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage$40$1;->access$0(Lcom/netease/newsreader/activity/DetailPage$40$1;)Lcom/netease/newsreader/activity/DetailPage$40;

    move-result-object v5

    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage$40;->access$0(Lcom/netease/newsreader/activity/DetailPage$40;)Lcom/netease/newsreader/activity/DetailPage;

    move-result-object v5

    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage;->access$13(Lcom/netease/newsreader/activity/DetailPage;)Ljava/util/HashMap;

    move-result-object v5

    const-string v6, "title"

    invoke-virtual {v5, v6}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "\u300b"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    .line 2927
    iget-object v5, p0, Lcom/netease/newsreader/activity/DetailPage$40$1$1;->this$2:Lcom/netease/newsreader/activity/DetailPage$40$1;

    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage$40$1;->access$0(Lcom/netease/newsreader/activity/DetailPage$40$1;)Lcom/netease/newsreader/activity/DetailPage$40;

    move-result-object v5

    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage$40;->access$0(Lcom/netease/newsreader/activity/DetailPage$40;)Lcom/netease/newsreader/activity/DetailPage;

    move-result-object v5

    invoke-virtual {v5}, Lcom/netease/newsreader/activity/DetailPage;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    const v6, 0x7f0b0049

    invoke-virtual {v5, v6}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, ":"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    .line 2928
    iget-object v5, p0, Lcom/netease/newsreader/activity/DetailPage$40$1$1;->this$2:Lcom/netease/newsreader/activity/DetailPage$40$1;

    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage$40$1;->access$0(Lcom/netease/newsreader/activity/DetailPage$40$1;)Lcom/netease/newsreader/activity/DetailPage$40;

    move-result-object v5

    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage$40;->access$0(Lcom/netease/newsreader/activity/DetailPage$40;)Lcom/netease/newsreader/activity/DetailPage;

    move-result-object v5

    invoke-virtual {v5}, Lcom/netease/newsreader/activity/DetailPage;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    const v6, 0x7f0b0044

    invoke-virtual {v5, v6}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, " "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    .line 2929
    const-string v5, " "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, p0, Lcom/netease/newsreader/activity/DetailPage$40$1$1;->this$2:Lcom/netease/newsreader/activity/DetailPage$40$1;

    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage$40$1;->access$0(Lcom/netease/newsreader/activity/DetailPage$40$1;)Lcom/netease/newsreader/activity/DetailPage$40;

    move-result-object v5

    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage$40;->access$0(Lcom/netease/newsreader/activity/DetailPage$40;)Lcom/netease/newsreader/activity/DetailPage;

    move-result-object v5

    invoke-virtual {v5}, Lcom/netease/newsreader/activity/DetailPage;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    const v6, 0x7f0b0045

    invoke-virtual {v5, v6}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, " "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    .line 2925
    invoke-virtual {v0, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 2930
    const-string v3, "vnd.android-dir/mms-sms"

    invoke-virtual {v0, v3}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;

    .line 2931
    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPage$40$1$1;->this$2:Lcom/netease/newsreader/activity/DetailPage$40$1;

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPage$40$1;->access$0(Lcom/netease/newsreader/activity/DetailPage$40$1;)Lcom/netease/newsreader/activity/DetailPage$40;

    move-result-object v3

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPage$40;->access$0(Lcom/netease/newsreader/activity/DetailPage$40;)Lcom/netease/newsreader/activity/DetailPage;

    move-result-object v3

    invoke-virtual {v3, v0}, Lcom/netease/newsreader/activity/DetailPage;->startActivity(Landroid/content/Intent;)V

    .line 2933
    return-void
.end method
